package com.colin.userservice.mapper;

import com.colin.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    Long selectIdByUsername(String username);

    Boolean insertUser(User user);

    String selectSaltByUsername(String username);

    User selectUserByUsernameAndPassword(@Param("username") String username,@Param("password") String password);
}
